xenctx: recognize also -S option for --stack-trace
authorOlaf Hering <olaf@aepfle.de>
Fri, 17 Jun 2011 12:09:32 +0000 (14:09 +0200)
committerOlaf Hering <olaf@aepfle.de>
Fri, 17 Jun 2011 12:09:32 +0000 (14:09 +0200)
Update help text.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/xentrace/xenctx.c

index ca81664e26a14bb00d3fd9953d76a58529f963bb..d5af9c6197fa42ee275ab6d73f8473a30c9e9cb8 100644 (file)
@@ -924,7 +924,7 @@ static void usage(void)
     printf("                    frame pointers.\n");
     printf("  -s SYMTAB, --symbol-table=SYMTAB\n");
     printf("                    read symbol table from SYMTAB.\n");
-    printf("  --stack-trace     print a complete stack trace.\n");
+    printf("  -S --stack-trace  print a complete stack trace.\n");
     printf("  -k, --kernel-start\n");
     printf("                    set user/kernel split. (default 0xc0000000)\n");
 #ifdef __ia64__
@@ -938,7 +938,7 @@ static void usage(void)
 int main(int argc, char **argv)
 {
     int ch;
-    static const char *sopts = "fs:hak:"
+    static const char *sopts = "fs:hak:S"
 #ifdef __ia64__
         "r:"
 #endif